package com.aliyun.heiyu.powermaster.server.dao.enums;

public enum LogConfigEnum {

    DEV_LOG_CONFIG("DEV", "debug", "debug", 150, 10, 3), //开发环境日志配置
    TEST_LOG_CONFIG("TEST", "info", "info", 250, 15, 5), //测试环境日志配置
    PRO_LOG_CONFIG("PRO", "error", "info", 500, 20, 10);//生产环境日志配置

    private String code;
    private String rootLevel;
    private String levelName;
    private int logSize;
    private int logSum;
    private int logMonitorInterval;

    LogConfigEnum(String code, String rootLevel, String levelName, int logSize, int logSum, int logMonitorInterval) {
        this.code = code;
        this.rootLevel = rootLevel;
        this.levelName = levelName;
        this.logSize = logSize;
        this.logSum = logSum;
        this.logMonitorInterval = logMonitorInterval;
    }

    public String getCode() {
        return code;
    }

    public String getRootLevel() {
        return rootLevel;
    }

    public String getLevelName() {
        return levelName;
    }

    public int getLogSize() {
        return logSize;
    }

    public int getLogSum() {
        return logSum;
    }

    public int getLogMonitorInterval() {
        return logMonitorInterval;
    }
}
